package com.jvyou.app.ds.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jvyou.app.common.domain.model.PageResult;
import com.jvyou.app.ds.domain.dto.QuestionDto;
import com.jvyou.app.ds.domain.entity.Question;
import com.jvyou.app.ds.domain.vo.NextQuestionVo;

import java.util.List;

/**
 * 驾校题目表(Question)表服务接口
 *
 * @author 橘柚
 * @since 2025-04-20 20:55:04
 */
public interface QuestionService extends IService<Question> {

    List<Question> listQuestion(QuestionDto questionDto);

    PageResult<Question> pageQuestion(QuestionDto questionDto);

    NextQuestionVo getNextQuestion(QuestionDto questionDto);

    NextQuestionVo getCurrentAnswerRecord(QuestionDto questionDto);

    NextQuestionVo getNextAiQuestion();

    NextQuestionVo getNextErrorQuestion( );

    NextQuestionVo getNextQuestionByType(Long typeId);
}

